<%@ page contentType="text/html;charset=UTF-8" %>
<%@ include file="../include/tag.jsp" %>
<!DOCTYPE html>
<html lang="zh">
<head>
    <title>查看物流</title>
    <link rel="stylesheet" href="${ctx}/css/common/list.css">
    <link rel="stylesheet" href="${ctx}/css/common/table.css">
    <link rel="stylesheet" href="${ctx}/css/ui/circle/add_cmember.css">
    <%@include file="../include/commonFile.jsp" %>
    <style type="text/css">
        body {
            min-width: auto !important;
            background-color: white !important;
        }

        .info-container {
            padding-top: 10px;
            margin: 0px auto;
            width: 90%;
        }

        .info-container div {
            line-height: 30px !important;
        }
    </style>
</head>
<body>
<div class="layui-form info-container">
    <div style="display: flex">
        <div style="margin-right: 20px">物流公司： ${mallLogistics.courierName}</div>
        <div>运单编号：${mallLogistics.courierNumber}</div>
    </div>
    <div style="display: flex">
        <div style="margin-right: 20px">物流状态： 
            <span class="red">
                <c:if test="${mallLogistics.status == 0}">无轨迹</c:if>
                <c:if test="${mallLogistics.status == 1}">已揽收</c:if>
                <c:if test="${mallLogistics.status == 2}">在途中</c:if>
                <c:if test="${mallLogistics.status == 201}">到达派件城市</c:if>
                <c:if test="${mallLogistics.status == 3}">已签收</c:if>
                <c:if test="${mallLogistics.status == 4}">问题件</c:if>
            </span>
        </div>
    </div>
    <div>
        <p>物流追踪</p>
        <ul>
            <c:if test="${fn:length(logisticsTraces) == 0}">
                <li><div style="color: orange">暂无轨迹信息</div></li>
            </c:if>
            <c:forEach var="trace" items="${logisticsTraces}">
                <li><div style="color: orange">${trace.acceptTime}</div><div>${trace.acceptStation}</div>
            </c:forEach>
        </ul>
    </div>
</div>
<!--底部-->
<%@include file="../include/incScript.jsp" %>
</body>
</html>